package com.youcai.springbootshiro.service;

import com.youcai.springbootshiro.dao.StudentDao;
import com.youcai.springbootshiro.entity.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    StudentDao studentDao;

    @Override
    public Student queryStudent(String sname) {
        return studentDao.queryStudent(sname);
    }
}
